import React, { use, Suspense } from "react";
import ChildComponents from "./ChildComponents";
import "./index.less";
type propsTypes = {};
const deawPen = "http://localhost:3001/assets/draw_pen.png";
function ParentComponents(props: propsTypes) {
  const cursorClass = {
    with: "100vw",
    height: "100vh",
    backgroundColor: "pink",
    cursor: `url(${deawPen}), auto`,
  };
  return <div style={cursorClass}>鼠标</div>;
  return (
    <Suspense fallback={<span>loding....</span>}>
      <div className="min-h-80 w-full p-4">
        <ChildComponents />
      </div>
    </Suspense>
  );
}

export default ParentComponents;
